<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html xmlns:th="http://www.thymeleaf.org">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:mvc="http://www.springframework.org/schema/mvc"
>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>麻将社区Title2222222</title>

    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/bootstrap-theme.css">
    <link rel="stylesheet" href="css/community.css">
    <script src="js/bootstrap.js/bootstrap.min.js" type="application/javascript"></script>
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>

<!--插入复杂的模板-->
<div th:insert="~{navigation::nav}"></div>
<!--位置放在这2021.7.13-->
<div class="container-fluid main">
    <div class="row">
        <!--所有的尺寸 最大为12其中占据9个-->
        <div class="col-lg-9 col-md-12 col-sm-12 col-xs-12">
            <h2><span class="glyphicon glyphicon-list" aria-hidden="true"></span> 发现</h2>
            <hr>
            <span th:text="${pagination.questions}"></span>
            <div class="media" th:each="question: ${pagination.questions}">
                <div class="media-left">
                    <a href="#">
                        <!--加入圆角-->
                        <!--<img class="media-object img-rounded" style="width: 30px ;height: 30px"-->
                             <!--th:src="*{question.user.avatarUrl}"-->
                        <!--/>-->
                    </a>
                </div>
                <div class="media-body">
                    <h4 class="media-heading" th:text="${question.title}">

                    </h4>
                    点击进入😊
                    <a th:href="@{'question/'+${question.id}}">1TTTT</a>
                    <br>
                    <span th:text="${question.description}"></span>
                    <span class="text-desc">
                            <span th:text="${question.commentCount}"></span>个回复..
                            <span th:text="${question.viewCount}">次浏览.</span>
                    </span>

                    发布时间<span th:text="${#dates.format(question.getGmtModified(),'dd MMMM yyyy')}">个小时前</span>
                </div>
            </div>

            <nav aria-label="Page navigation">
                <ul class="pagination">
                    <li th:if="${pagination.showPrevious}">
                        <a th:href="@{/(page=${pagination.getPage()-1})}" aria-label="Previous">
                            <span aria-hidden="true">&lt;&lt;</span>
                        </a>
                    </li>
                    <li th:if="${pagination.showFirstPage}">
                        <a href="#" aria-label="Previous">
                            <span aria-hidden="true">&lt;</span>
                        </a>
                    </li>
                    <li th:each="page :${pagination.pages}" th:class="${pagination.page==page}? 'active':''">
                        <a th:href="@{/(page=${page})}" th:text="${page}"></a></li>

                    <li th:if="${pagination.showNext}">
                        <a th:href="@{/(page=${pagination.getPage()+1})}" aria-label="Previous">
                            <span aria-hidden="true">&gt;</span>
                        </a>
                    </li>
                    <li th:if="${pagination.showEndpage}">
                        <a href="#" aria-label="Previous">
                            <span aria-hidden="true">&gt;&gt;</span>
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
        <!--所有的尺寸 最大为12其中占据3个-->
        <div class="col-lg-3 col-md-12 col-sm-12 col-xs-12" style="background-color: #d0e9c6">
            <h3>热门话题最新更新</h3>
        </div>
    </div>
</div>

</body>
</html>
<!--cafa86a98e8ccb86ccaccd783ad71c3d34457750        1b66d0b190ce1ebb4562-->
<!--https://github.com/login/oauth/authorize?client_id=1b66d0b190ce1ebb4562&redirect_uri=http://127.0.0.1:8887/callback-->
<!--https://github.com/login/oauth/authorize?client_id=984cb22249ebd896c444&redirect_uri=http://127.0.0.1:8887/callback-->
<!--系统之家    mmsn-->

https://avatars.githubusercontent.com/u/22188865?s=60&v=4